package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * Position: 岗位表
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/4 14:46</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ASSISTANT_POSITION")
public class Position implements Serializable {


    private static final long serialVersionUID = 4949199891798013422L;
    /**
     * 岗位ID
     */
    @TableId(value = "POSITION_ID", type = IdType.ASSIGN_UUID)
    private String positionId;

    /**
     * 岗位编码
     */
    @TableField("POSITION_CODE")
    private String positionCode;

    /**
     * 岗位名称
     */
    @TableField("POSITION_NAME")
    private String positionName;

    /**
     * 岗位描述
     */
    @TableField("POSITION_DESCRIPTION")
    private String positionDescription;

    /**
     * 创建用户ID
     */
    @TableField("CREATE_USER_ID")
    private String createUserId;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 终端类型
     */
    @TableField("TERMINAL_TYPE")
    private String terminalType;

    /**
     * 修改用户ID
     */
    @TableField("UPDATE_USER_ID")
    private String updateUserId;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField("MEMO")
    private String memo;

    /**
     * 是否启用
     */
    @TableField("IS_ENABLE")
    private Boolean enableFlag;


    /**
     * 数据是否删除
     */
    @TableField("IS_DELETE")
    @TableLogic(value = "0",delval = "1")
    private Boolean deleteFlag;

}
